let mongoose = require('mongoose')

module.exports = mongoose.model("newsinfo", {
    goodsid: {
        type: Number,
        required: true
    },
    title: {
        type: String,
        required: true,
    },
    from: {
        type: String,
        required: true
    },
    time: {
        type: String,
        required: true
    },
    img: {
        type: String,
        required: true
    },
    context: {
        type: String,
        required: true
    }

})